app.factory('AuthService', function ($http)
{
	return {
		logon: function(inputs) {
			return $http.post('Authapi/logon', inputs);
		},
		LogonUserId : function() {
			return $http.get('Authapi/logonUserID');
		},
		logout: function() {
			return $http.get('Authapi/Logout');
		}
	}
});